home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 72 65 | 64 2e 77 65 65 67 2e 75 |Path: re|d.weeg.u|
|00000010| 69 6f 77 61 2e 65 64 75 | 21 72 6f 62 69 6e 73 6f |iowa.edu|!robinso|
|00000020| 6e 0a 46 72 6f 6d 3a 20 | 54 68 65 20 41 6d 6f 72 |n.From: |The Amor|
|00000030| 70 68 6f 75 73 20 4d 61 | 73 73 20 3c 72 6f 62 69 |phous Ma|ss <robi|
|00000040| 6e 73 6f 6e 40 62 6c 75 | 65 2e 77 65 65 67 2e 75 |nson@blu|e.weeg.u|
|00000050| 69 6f 77 61 2e 65 64 75 | 3e 0a 4e 65 77 73 67 72 |iowa.edu|>.Newsgr|
|00000060| 6f 75 70 73 3a 20 63 6f | 6d 70 2e 6c 61 6e 67 2e |oups: co|mp.lang.|
|00000070| 63 2c 63 6f 6d 70 2e 75 | 6e 69 78 2e 70 72 6f 67 |c,comp.u|nix.prog|
|00000080| 72 61 6d 6d 65 72 0a 53 | 75 62 6a 65 63 74 3a 20 |rammer.S|ubject: |
|00000090| 52 65 3a 20 51 3a 20 27 | 5c 6e 27 20 63 68 61 72 |Re: Q: '|\n' char|
|000000a0| 61 63 74 65 72 0a 44 61 | 74 65 3a 20 54 75 65 2c |acter.Da|te: Tue,|
|000000b0| 20 32 20 41 70 72 20 31 | 39 39 36 20 31 32 3a 33 | 2 Apr 1|996 12:3|
|000000c0| 35 3a 31 37 20 2d 30 36 | 30 30 0a 4f 72 67 61 6e |5:17 -06|00.Organ|
|000000d0| 69 7a 61 74 69 6f 6e 3a | 20 55 6e 69 76 65 72 73 |ization:| Univers|
|000000e0| 69 74 79 20 6f 66 20 49 | 6f 77 61 2c 20 49 6f 77 |ity of I|owa, Iow|
|000000f0| 61 20 43 69 74 79 2c 20 | 49 41 2c 20 55 53 41 0a |a City, |IA, USA.|
|00000100| 44 69 73 74 72 69 62 75 | 74 69 6f 6e 3a 20 77 6f |Distribu|tion: wo|
|00000110| 72 6c 64 0a 4d 65 73 73 | 61 67 65 2d 49 44 3a 20 |rld.Mess|age-ID: |
|00000120| 3c 50 69 6e 65 2e 41 33 | 32 2e 33 2e 39 31 2e 39 |<Pine.A3|2.3.91.9|
|00000130| 36 30 34 30 32 31 32 33 | 33 30 34 2e 31 36 38 35 |60402123|304.1685|
|00000140| 31 4a 2d 31 30 30 30 30 | 30 40 72 65 64 2e 77 65 |1J-10000|0@red.we|
|00000150| 65 67 2e 75 69 6f 77 61 | 2e 65 64 75 3e 0a 52 65 |eg.uiowa|.edu>.Re|
|00000160| 66 65 72 65 6e 63 65 73 | 3a 20 3c 33 31 36 31 36 |ferences|: <31616|
|00000170| 46 36 33 2e 34 38 31 44 | 40 6c 61 76 61 2e 77 65 |F63.481D|@lava.we|
|00000180| 65 67 2e 75 69 6f 77 61 | 2e 65 64 75 3e 0a 4e 4e |eg.uiowa|.edu>.NN|
|00000190| 54 50 2d 50 6f 73 74 69 | 6e 67 2d 48 6f 73 74 3a |TP-Posti|ng-Host:|
|000001a0| 20 72 65 64 2e 77 65 65 | 67 2e 75 69 6f 77 61 2e | red.wee|g.uiowa.|
|000001b0| 65 64 75 0a 4d 69 6d 65 | 2d 56 65 72 73 69 6f 6e |edu.Mime|-Version|
|000001c0| 3a 20 31 2e 30 0a 43 6f | 6e 74 65 6e 74 2d 54 79 |: 1.0.Co|ntent-Ty|
|000001d0| 70 65 3a 20 54 45 58 54 | 2f 50 4c 41 49 4e 3b 20 |pe: TEXT|/PLAIN; |
|000001e0| 63 68 61 72 73 65 74 3d | 55 53 2d 41 53 43 49 49 |charset=|US-ASCII|
|000001f0| 0a 58 2d 53 65 6e 64 65 | 72 3a 20 72 6f 62 69 6e |.X-Sende|r: robin|
|00000200| 73 6f 6e 40 72 65 64 2e | 77 65 65 67 2e 75 69 6f |son@red.|weeg.uio|
|00000210| 77 61 2e 65 64 75 0a 49 | 6e 2d 52 65 70 6c 79 2d |wa.edu.I|n-Reply-|
|00000220| 54 6f 3a 20 3c 33 31 36 | 31 36 46 36 33 2e 34 38 |To: <316|16F63.48|
|00000230| 31 44 40 6c 61 76 61 2e | 77 65 65 67 2e 75 69 6f |1D@lava.|weeg.uio|
|00000240| 77 61 2e 65 64 75 3e 20 | 0a 0a 4f 6e 20 54 75 65 |wa.edu> |..On Tue|
|00000250| 2c 20 32 20 41 70 72 20 | 31 39 39 36 2c 20 41 72 |, 2 Apr |1996, Ar|
|00000260| 74 75 72 20 57 6f 6a 64 | 61 74 20 77 72 6f 74 65 |tur Wojd|at wrote|
|00000270| 3a 0a 0a 3e 20 48 65 6c | 6c 6f 20 65 76 65 72 79 |:..> Hel|lo every|
|00000280| 62 6f 64 79 2c 0a 3e 20 | 09 49 73 20 74 68 65 72 |body,.> |.Is ther|
|00000290| 65 20 61 20 66 75 6e 63 | 74 69 6f 6e 20 6f 72 20 |e a func|tion or |
|000002a0| 73 6f 6d 65 20 73 6f 72 | 74 20 6f 66 20 77 61 79 |some sor|t of way|
|000002b0| 20 74 68 61 74 20 49 20 | 63 6f 75 6c 64 20 72 65 | that I |could re|
|000002c0| 6d 6f 76 65 20 27 5c 6e | 27 20 0a 3e 20 63 68 61 |move '\n|' .> cha|
|000002d0| 72 65 63 74 65 72 20 66 | 6f 72 6d 20 74 68 65 20 |recter f|orm the |
|000002e0| 65 6e 64 20 6f 66 20 74 | 68 65 20 73 74 72 69 6e |end of t|he strin|
|000002f0| 67 2e 20 49 27 6d 20 72 | 65 61 64 69 6e 67 20 66 |g. I'm r|eading f|
|00000300| 72 6f 6d 20 74 77 6f 20 | 66 69 6c 65 73 2c 20 77 |rom two |files, w|
|00000310| 61 6e 74 20 74 6f 20 0a | 3e 20 66 6f 72 6d 20 6f |ant to .|> form o|
|00000320| 6e 65 20 6c 69 6e 65 20 | 6f 66 20 74 65 78 74 20 |ne line |of text |
|00000330| 61 6e 64 20 74 68 65 6e | 20 68 61 76 65 20 69 74 |and then| have it|
|00000340| 20 70 72 69 6e 74 65 64 | 20 6f 75 74 20 74 6f 20 | printed| out to |
|00000350| 73 74 64 6f 75 74 2e 20 | 49 20 75 73 65 20 66 67 |stdout. |I use fg|
|00000360| 65 74 73 20 74 6f 20 0a | 3e 20 72 65 61 64 20 66 |ets to .|> read f|
|00000370| 72 6f 6d 20 74 68 65 20 | 66 69 6c 65 20 61 6e 64 |rom the |file and|
|00000380| 20 49 20 6e 6f 74 69 63 | 65 64 20 74 68 61 74 20 | I notic|ed that |
|00000390| 69 74 20 61 70 70 65 6e | 64 73 20 6e 65 77 6c 69 |it appen|ds newli|
|000003a0| 6e 65 20 63 68 61 72 20 | 61 74 20 74 68 65 20 65 |ne char |at the e|
|000003b0| 6e 64 2e 0a 0a 20 20 49 | 74 20 64 6f 65 73 6e 27 |nd... I|t doesn'|
|000003c0| 74 20 61 70 70 65 6e 64 | 20 74 68 65 20 6e 65 77 |t append| the new|
|000003d0| 6c 69 6e 65 2e 20 20 54 | 68 65 20 6e 65 77 6c 69 |line. T|he newli|
|000003e0| 6e 65 20 69 73 20 69 6e | 20 74 68 65 20 66 69 6c |ne is in| the fil|
|000003f0| 65 2e 20 20 49 74 20 0a | 64 6f 65 73 20 61 70 70 |e. It .|does app|
|00000400| 65 6e 64 20 61 20 6e 75 | 6c 6c 20 74 65 72 6d 69 |end a nu|ll termi|
|00000410| 6e 61 74 6f 72 2e 0a 0a | 20 20 73 74 72 74 6f 6b |nator...| strtok|
|00000420| 28 6c 69 6e 65 2c 20 22 | 5c 6e 22 29 3b 0a 0a 20 |(line, "|\n");.. |
|00000430| 20 69 73 20 6f 6e 65 20 | 77 61 79 20 74 6f 20 72 | is one |way to r|
|00000440| 65 6d 6f 76 65 20 74 68 | 65 20 6e 65 77 6c 69 6e |emove th|e newlin|
|00000450| 65 2e 0a 0a 2f 2a 2a 4a | 61 6d 65 73 20 52 6f 62 |e.../**J|ames Rob|
|00000460| 69 6e 73 6f 6e 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |inson***|********|
|00000470| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 20 20 20 20 |********|**** |
|00000480| 20 20 20 20 20 20 20 20 | 0a 20 20 22 49 66 20 61 | |. "If a|
|00000490| 20 66 61 74 61 6c 20 65 | 72 72 6f 72 20 6f 63 63 | fatal e|rror occ|
|000004a0| 75 72 73 2c 20 74 68 65 | 20 70 72 6f 67 72 61 6d |urs, the| program|
|000004b0| 20 73 68 6f 75 6c 64 20 | 6e 6f 74 20 62 65 20 61 | should |not be a|
|000004c0| 6c 6c 6f 77 65 64 20 74 | 6f 20 63 6f 6e 74 69 6e |llowed t|o contin|
|000004d0| 75 65 2e 22 0a 20 2d 2d | 20 4f 72 61 63 6c 65 20 |ue.". --| Oracle |
|000004e0| 50 72 6f 2a 43 20 55 73 | 65 72 27 73 20 47 75 69 |Pro*C Us|er's Gui|
|000004f0| 64 65 20 20 20 20 20 20 | 20 20 20 2a 2a 2a 2a 2a |de | *****|
|00000500| 2a 2a 2a 2a 2a 2a 2a 2a | 6a 61 6d 65 73 2d 72 6f |********|james-ro|
|00000510| 62 69 6e 73 6f 6e 40 75 | 69 6f 77 61 2e 65 64 75 |binson@u|iowa.edu|
|00000520| 2a 2a 2f 0a 0a 0a 0a 0a | |**/.....| |
+--------+-------------------------+-------------------------+--------+--------+